.class Lrexsee/core/browser/RexseePrompt$26;
.super Ljava/lang/Object;
.source "RexseePrompt.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/core/browser/RexseePrompt;->showCountryOrCity(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/core/browser/RexseePrompt;

.field private final synthetic val$cityText:Landroid/widget/TextView;

.field private final synthetic val$enableFirst:Z

.field private final synthetic val$enableSecond:Z

.field private final synthetic val$provinceText:Landroid/widget/TextView;

.field private final synthetic val$returnListener:Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;


# direct methods
.method constructor <init>(Lrexsee/core/browser/RexseePrompt;ZLandroid/widget/TextView;ZLandroid/widget/TextView;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/core/browser/RexseePrompt$26;->this$0:Lrexsee/core/browser/RexseePrompt;

    iput-boolean p2, p0, Lrexsee/core/browser/RexseePrompt$26;->val$enableFirst:Z

    iput-object p3, p0, Lrexsee/core/browser/RexseePrompt$26;->val$provinceText:Landroid/widget/TextView;

    iput-boolean p4, p0, Lrexsee/core/browser/RexseePrompt$26;->val$enableSecond:Z

    iput-object p5, p0, Lrexsee/core/browser/RexseePrompt$26;->val$cityText:Landroid/widget/TextView;

    iput-object p6, p0, Lrexsee/core/browser/RexseePrompt$26;->val$returnListener:Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    .line 447
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 4
    .param p1, "dialog"    # Landroid/content/DialogInterface;
    .param p2, "whichButton"    # I

    .prologue
    const-string v3, "\""

    .line 450
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    .line 451
    packed-switch p2, :pswitch_data_0

    .line 469
    :goto_0
    return-void

    .line 453
    :pswitch_0
    const-string v0, ""

    .line 454
    .local v0, "rtn":Ljava/lang/String;
    iget-boolean v1, p0, Lrexsee/core/browser/RexseePrompt$26;->val$enableFirst:Z

    if-eqz v1, :cond_0

    .line 455
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "\""

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lrexsee/core/browser/RexseePrompt$26;->val$provinceText:Landroid/widget/TextView;

    invoke-virtual {v2}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-interface {v2}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\""

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 457
    :cond_0
    iget-boolean v1, p0, Lrexsee/core/browser/RexseePrompt$26;->val$enableFirst:Z

    if-eqz v1, :cond_1

    iget-boolean v1, p0, Lrexsee/core/browser/RexseePrompt$26;->val$enableSecond:Z

    if-eqz v1, :cond_1

    .line 458
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ","

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 460
    :cond_1
    iget-boolean v1, p0, Lrexsee/core/browser/RexseePrompt$26;->val$enableSecond:Z

    if-eqz v1, :cond_2

    .line 461
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "\""

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lrexsee/core/browser/RexseePrompt$26;->val$cityText:Landroid/widget/TextView;

    invoke-virtual {v2}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-interface {v2}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\""

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 463
    :cond_2
    iget-object v1, p0, Lrexsee/core/browser/RexseePrompt$26;->val$returnListener:Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "["

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "]"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;->run(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 466
    .end local v0    # "rtn":Ljava/lang/String;
    :pswitch_1
    iget-object v1, p0, Lrexsee/core/browser/RexseePrompt$26;->val$returnListener:Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;->run(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 451
    :pswitch_data_0
    .packed-switch -0x2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
